package com.qk.common.enums;

/**
 * Date:2025/10/10
 * Author:zxc
 * Description
 */
public enum ParamEnum implements  Code{

    PARAM_ERROR("参数错误",10001),
    LOGIN_PASSWPRD_ERROR("登录密码错误",10002) ,
    LOGIN_USERNAME_ERROR("登录用户名错误",10003) ,
    LOGIN_STATUS_ERROR("登录用户被停用", 10004);

    private final String msg;
    private final int code;

    ParamEnum(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }

    @Override
    public String getChars() {
        return "";
    }
}
